#!/bin/bash

chmod +x /opt/apm/server/hub/bin/start
chmod +x ./opt/apm/server/threshold/bin/start.sh
chmod +x /opt/apm/server/tomcat/bin/catalina.sh 

/opt/apm/server/hub/bin/start -d
./opt/apm/server/threshold/bin/start.sh

